home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Visual Basic Source Code
/
Visual Basic Source Code.iso
/
vbsource
/
tab100
/
readme.txt
< prev
next >
Wrap
Text File
|
1992-01-28
|
4KB
|
163 lines
Tablenette (Vers 1.0)
---------------------
Developed for Christmas 1991.
Tablenette is released into the Public Domain and contains the
Visual Basic Source code, not well documented and could well be
improved. Hope it shows how far you can go though.
The Game
--------
Tablenette is a game for 2 players, in this case the computer and you.
6 cards are dealt to each player. 4 cards to the table, Jacks are not
dealt to the table but placed on the bottom of the deck.
Non dealer plays first.
The object of the game is to remove cards from the table if possible.
Cards can be removed if the following is true
1. Cards are of equal rank to the card played.
A player may remove as many cards of equal rank as are on
the table.
2. 2 cards add up to the same value as the card played.
Card Values are 2-10 Face Value, Ace 1 or 11, Jack 12,
Queen 13, King 14. (Note Jacks are special see later).
A player may only remove 1 set of equal value cards,
but can remove cards of equal rank at the same time.
Points are scored as follows for removed cards(including played card):
Ace, King, Queen, Jack 1 Point
10's(except 10 Diamonds) 1 point
2 clubs 1 point
10 Diamonds 2 points
Removing all the cards from the table scores "Tablenette" and
gains the player the face value of all cards involved.
Examples:
Table 10 Diamonds, 4 Spades, K Hearts, K Spades
Player 3 Diamonds, 6 Hearts, K Clubs, 10 Clubs, 8 Diamonds, A Spades
Alternative 1 --- Play 10 Clubs(remove 10 Spades)
Points scored 10 Diamonds 2
10 Clubs 1
Total 3
Alternative 2 --- Play K Clubs(Remove All cards 10+4=14)
Points Scored 10 Diamonds 2
K Spades 1
K Hearts 1
K Clubs 1
4 Spades 0
Tablenette
10 Diamonds 10
K Spades 14
K Hearts 14
K Clubs 14
4 Spades 4
Total 61
Therefore true object of the game is to clear the table as
often as possible.
If you cannot, or do not wish to play a card(i.e playing a card leaves
only 1 high card on table, giving opponent high chance to score
Tablenette) then a card must be played to table, at the end of the
existing cards.
Jacks
A Jack when played clears the table, however it does not score Tablenette.
This forces opponent to play a single card to table giving you a good
chance to score Tablenette.
Once both players have played their 6 cards, 6 more are dealt to each
player until the deck is empty.
When the last card in the deck is played any cards remaining on table are
picked up by the player who last picked up from the table.
If any player has pick up more than 27 cards 3 points are added to their
score.
When the deck is empty the player with the highest score over 251 wins. If
no one has greater than 251 play continues with a new dealer.
Tactics
1. Play Jacks early in hand
2. Try not to leave 1 high card on table
(unless 2 or 3 are already played)
3. With 1 card on table if you have to discard then
try to score 12(since Jacks are special no card can
clear 12 and score Tablenette) or over 14.
Method of Play in the game:
To Play drag your card to any of the face up table cards.
To Discard drag your card to the face down card.
The Code
--------
This game has been developed using MS Visual Basic and requires
the following DLL's VBRUN100.DLL and VBCARDS.DLL both of which can be
found on the CompuServe MSBASIC forum.
The Warrenty
------------
There is None, use at your own risk.
Bugs
----
We have played with the game for a while with no problems, however we are
interested in stamping out the bugs as they arise, so if you get problems
contact us via CompuServe mail as below. Suggestions and Improvements
are also welcome.
The Company
-----------
Sycomp Limited
1 Stonecross
St. Albans
Herts, ENGLAND AL1 4AA
Tel: UK (0727) 47806
Intl +44 727 47806
Fax: UK (0727) 834052
Intl +44 727 834052
Compuserve Mail: 100020,3472
We are specialist developers in the following areas:-
Graphical and Client Server Systems using MS Visual Basic, MS Quick C/Win,
IS/2, SQL Server & IBM's Database Manager.